class Person{
    constructor(name,sex){
        this.name=name;
        this.sex=sex;

        this.say=function(){

        };
    }
        speak(){

        }
        
        static speak(){

        }
}
Person.version='1.0';
class Programmer extends Person{
    constructor(name,sex){
        super(name,sex);
    }
}
const zs = new Programmer('zs','男');

if(!typeof this !== 'undefined'){
    throw new Error('请使用模块的方式加载')
}
if(PC){
    import('pc.js').then().catch();
}else if(Mobile){
    import('mobile.js').then().catch();
}